package com.xcj.cloud.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Accessors(chain=true)
@Data
@TableName("t_admin")
public class Admin {

    @TableId(type = IdType.ASSIGN_ID)
    private Long  aid;
    private String adminName;
    private String aPassword;
    //添加字段填充内容
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;  //创建时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;   //更新时间
    //是否删除 默认为0,表示没有删除
    private int isDel = 0;
}
